package org.jeecg.modules.yks.dev.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备使用产品设置
 * @Author: jeecg-boot
 * @Date:   2023-11-30
 * @Version: V1.0
 */
@Data
@TableName("dev_equipment_config_product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dev_equipment_config_product对象", description="设备使用产品设置")
public class DevEquipmentConfigProduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**设备id*/
	@Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
    private java.lang.String equipmentId;
	/**产品id*/
	@Excel(name = "产品id", width = 15)
    @ApiModelProperty(value = "产品id")
    private java.lang.String productId;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private java.lang.String productName;
	/**产品类别*/
	@Excel(name = "产品类别", width = 15, dicCode = "product_class")
	@Dict(dicCode = "product_class")
    @ApiModelProperty(value = "产品类别")
    private java.lang.String productClass;
	/**配置人员角色*/
	@Excel(name = "配置人员角色", width = 15)
    @ApiModelProperty(value = "配置人员角色")
    private java.lang.String configRoles;
	/**位号*/
	@Excel(name = "位号", width = 15)
    @ApiModelProperty(value = "位号")
    private java.lang.String locationNumber;
	/**控件类型*/
	@Excel(name = "控件类型", width = 15)
    @ApiModelProperty(value = "控件类型")
    private java.lang.String controlType;
	/**控件值*/
	@Excel(name = "控件值", width = 15)
    @ApiModelProperty(value = "控件值")
    private java.lang.String controlValue;
	/**是否必填*/
	@Excel(name = "是否必填", width = 15)
    @ApiModelProperty(value = "是否必填")
    private java.lang.String controlRequired;
	/**有效期*/
	@Excel(name = "有效期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "有效期")
    private java.util.Date effectiveDate;
	/**最大次数*/
	@Excel(name = "最大次数", width = 15)
    @ApiModelProperty(value = "最大次数")
    private java.lang.Integer maximumTimes;
	/**扩展日期字段*/
	@Excel(name = "扩展日期字段", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "扩展日期字段")
    private java.util.Date extDate;
	/**扩展日期字段1*/
	@Excel(name = "扩展日期字段1", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "扩展日期字段1")
    private java.util.Date extDate1;
	/**扩展数字字段*/
	@Excel(name = "扩展数字字段", width = 15)
    @ApiModelProperty(value = "扩展数字字段")
    private java.math.BigDecimal extNumber;
	/**扩展数字字段1*/
	@Excel(name = "扩展数字字段1", width = 15)
    @ApiModelProperty(value = "扩展数字字段1")
    private java.math.BigDecimal extNumber1;
	/**扩展数字字段2*/
	@Excel(name = "扩展数字字段2", width = 15)
    @ApiModelProperty(value = "扩展数字字段2")
    private java.math.BigDecimal extNumber2;
	/**扩展字符字段*/
	@Excel(name = "扩展字符字段", width = 15)
    @ApiModelProperty(value = "扩展字符字段")
    private java.lang.String extText;
	/**扩展字符字段1*/
	@Excel(name = "扩展字符字段1", width = 15)
    @ApiModelProperty(value = "扩展字符字段1")
    private java.lang.String extText1;
	/**扩展字符字段2*/
	@Excel(name = "扩展字符字段2", width = 15)
    @ApiModelProperty(value = "扩展字符字段2")
    private java.lang.String extText2;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**多租户标识*/
	@Excel(name = "多租户标识", width = 15)
    @ApiModelProperty(value = "多租户标识")
    private java.lang.String tenantId;
	/**删除状态*/
	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    @TableLogic
    private java.lang.Integer delFlag;
	/**版本*/
	@Excel(name = "版本", width = 15)
    @ApiModelProperty(value = "版本")
    private java.lang.Integer version;
	/**租户业务隔离ID*/
	@Excel(name = "租户业务隔离ID", width = 15)
    @ApiModelProperty(value = "租户业务隔离ID")
    private java.lang.String tenantBusinessId;

    /**更换日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date changeDate;

    /**更换日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "检查日期")
    private java.util.Date checkDate;

    /**更换日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "保养日期")
    private java.util.Date maintenanceDate;

    /**检查间隔*/
    @Excel(name = "检查间隔(单位:月)", width = 15)
    @ApiModelProperty(value = "检查间隔(单位:月)")
    private Integer checkGap;

    /**检查间隔*/
    @Excel(name = "保养间隔(单位:月)", width = 15)
    @ApiModelProperty(value = "保养间隔(单位:月)")
    private Integer maintenanceGap;

    /**检查间隔*/
    @Excel(name = "更换间隔(单位:月)", width = 15)
    @ApiModelProperty(value = "更换间隔(单位:月)")
    private Integer changeGap;

    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;

    /**产品型号*/
    @Excel(name = "产品型号", width = 15)
    @ApiModelProperty(value = "产品型号")
    private String productType;
}
